<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<html lang="zh-CN">
<!--页头引入-->
<head ms-controller="head">
    <title>文章发布编辑页面实例</title>
    <meta ms-attr-content="{{PageDescription}}" name="Description">
    <meta ms-attr-content="{{PageKeywords}}" name="Keywords">
    <meta charset="UTF-8">
    <!--坑爹的IE兼容-->
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!--坑爹的将360默认为极速模式打开-->
    <meta name="renderer" content="webkit">
    <!--移动优先-->
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!--图标引入-->


    <!--bootstrap引入-->
    <link href="./src/css/bootstrap.css" rel="stylesheet" type="text/css"/>

    <!--fontAwesone 引入-->
    <link href="./src/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
    <!--[if lte IE 7]>
    <link href="./src/css/font-awesome-ie7.min.css" rel="stylesheet" type="text/css"/>
    <![endif]-->

    <!--代码美化-->
    <link href="./src/css/jquery.snippet.css" rel="stylesheet" type="text/css"/>

    <!--mdeditor样式-->
    <link href="./src/css/MDEditor.css" rel="stylesheet" type="text/css"/>

    <!--本地CSS-->
    <link href="./src/css/mooshroom.css" rel="stylesheet">
    <link href="./src/css/local.css" rel="stylesheet">

</head>

<body>
<!--提示框-->
<div ms-controller="tip" class="tip">
    <div ms-repeat="tips">
        <div class="alert alert-info alert-dismissible alive-loading alive-hover" role="alert">
            <button type="button" class="close" data-dismiss="alert" id="close">
                <span aria-hidden="true">&times;</span><span class="sr-only">Close</span>
            </button>
            <img src="./src/images/loading.gif">
            {{el}}
        </div>
    </div>

    <div ms-repeat="tipsError">
        <div class="alert alert-danger alert-dismissible alive-loading" role="alert">
            <button type="button" class="close" data-dismiss="alert" id="close2">
                <span aria-hidden="true">&times;</span><span class="sr-only">Close</span>
            </button>
            <strong>提示：</strong>
            {{el}}
        </div>
    </div>
</div>

<div class="container" ms-controller="include">
    <h1>
        文章发布编辑页面实例
    </h1>
    <hr/>
    <form class="form-horizontal">

        <div class="form-group">
            <label  class="col-sm-2 control-label">文章标题</label>
            <div class="col-sm-8">
                <input type="text" class="form-control"  placeholder="文章标题">
            </div>
        </div>

        <div class="form-group">
            <label  class="col-sm-2 control-label">文章类型</label>
            <div class="col-sm-3">
                <input list="list" type="text" class="form-control"  placeholder="文章类型">
                <datalist id="list">
                    <option value="123">123123</option>
                </datalist>
            </div>
        </div>

        <div class="form-group">
            <label  class="col-sm-2 control-label">正文</label>
            <div class="col-sm-10">

                <div ms-include-src="MDEditor"></div>

            </div>
        </div>




        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <a  class="btn btn-default" ms-click="publish">发布</a>
            </div>
        </div>
    </form>
</div>


<!--jquery-->
<script src="./src/js/jquery-2.1.1.js" type="text/javascript"></script>

<!--[if lt IE 9]>
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.min.js"></script>
<script src="http://cdn.bootcss.com/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->

<script src="./src/js/bootstrap.min.js"></script>
<script src="./src/js/webuploader.js"></script>

<!--avalon-->
<script src="./src/js/avalon.js"></script>
<script src="./src/js/mmRequest.js"></script>

<!--tansuyun plugins-->
<script src="./plugins/attention.js"></script>
<!--<script src="./plugins/markdown.js"></script>-->

<!--soul-->
<script src="./config.js"></script>
<script src="./include.js"></script>
<script src="./router.js"></script>

<!--<script src="./plugins/regCheckOut.js"></script>-->


</body>
</html>